package com.hgkj.cloud.base.service;

import com.hgkj.cloud.base.common.PageInfo;
import com.hgkj.cloud.base.domain.TenantOrderRecord;

import java.util.List;
import java.util.Map;

public interface TenantOrderRecordService {

    int deleteByPrimaryKey(Long id);

    int insert(TenantOrderRecord record);

    int insertSelective(TenantOrderRecord record);

    TenantOrderRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantOrderRecord record);

    int updateByPrimaryKey(TenantOrderRecord record);

    TenantOrderRecord getOrderRecord(Map<String, Object> map);

    List<TenantOrderRecord> listOrderRecordByCode(PageInfo pi, Map<String, Object> map);

    long listOrderRecordByCodeCount(Map<String, Object> map);

    List<Map<String, Object>> listOrderRecordsAnalyze(Map<String, Object> map);

    List<TenantOrderRecord> listAllOrderRecords(PageInfo pi,Map<String, Object> map);

    long listAllOrderRecordsPageCount(Map<String, Object> map);

    List<Map<String, Object>> getUserRecord(PageInfo pi,Map<String, Object> map);

    Long getUserRecordCount(Map<String, Object> map);

}
